import { ApiProperty } from '@nestjs/swagger';
export class CreateStudycontentDto {
  @ApiProperty({ description: '用户ID', example: '2' })
  Id: string;
  @ApiProperty({ description: '学习内容名称', example: '学习Nest.js' })
  Name: string;
  @ApiProperty({ description: '地址', example: 'https://www.baidu.com' })
  Url: string;
  @ApiProperty({ description: '分类Id', example: '2' })
  sortId: string;
  @ApiProperty({ description: '来源', example: '2' })
  source: string;
  @ApiProperty({
    description: '所属部门编号',
    example: '1',
  })
  department: string;
}
